#ifndef __MPU6050_H
#define __MPU6050_H

#include <SPI.h>
#include <Wire.h>
#include <Adafruit_MPU6050.h>
#include <Adafruit_Sensor.h>
#include "prj_config.h"


typedef struct mpu_data_t
{
    float ax, ay, az, gx, gy, gz;
    float temperature;
} MPU_DATA_t;

bool MPU6050_init();
MPU_DATA_t MPU6050_get_data();
void MPU6050_print_data(MPU_DATA_t temp);





#endif
